<?php
	include "../../public/commom/config.php";
	include "../lock1.php";
	
	if($_GET) {
		$code = $_GET['code'];
		
		$sql = "DELETE FROM indent WHERE code = $code";
	
		$result = mysqli_query($conn, $sql);
		
		mysqli_close($conn);
	
		header("Location: ./index.php");
	}
?>